home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
38
/
sgn_bans.zip
/
REPLACEC.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1985-10-30
|
294b
|
11 lines
{ ReplaceChar, replaces one character within a string by another }
Procedure ReplaceChar(Var Str ; a, b : char ) ;
var
Str2 : string[255] absolute Str ; { avoid size incompatibility }
j : integer ;
begin
for j := 1 to length(Str2) do if Str2[j] = a then Str2[j] := b ;
end ;